<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>Quazie's poeid generator</title>
	<style type="text/css" media="screen">
		.content {
			text-align:center;
			background: purple;
			margin: 0 auto 0 auto;
			width: 35em;
			padding: 1em;
			}
		h1 {
			margin-top: 0;
			}
		body {
			color:white;
			}
			
		a {
			color: white;
			}
		a:visited {
			color: darkgrey;
			}
		.byline {
				text-align:right;
				padding: 1em 0 0 0;
				font-size: .75em;
			}
	</style>
</head>
<body>
	<div class="content">
		<h1>Set where Coffee House Coders will be in the next few weeks!</h1>
		<form action="/tweet/admin/future" method="post">
				<table>
					<tr><td>This Week:</td><td>
						<select name="week1">
							{% for aPlace in locations %}
							<option {% ifequal week0 aPlace.placeID%} selected="selected" {%  endifequal %} value="{{aPlace.placeID}}" >{{aPlace.name}} </option>
							{% endfor %}
						</select>
					</td></tr>
					<tr><td>Next Week:</td><td>
						<select name="week2">
							{% for aPlace in locations %}
							<option {% ifequal week1 aPlace.placeID%} selected="selected" {%  endifequal %} value="{{aPlace.placeID}}" >{{aPlace.name}} </option>
							{% endfor %}
						</select>
					</td></tr>
					<tr><td>In Two Weeks:</td><td>
						<select name="week3">
							{% for aPlace in locations %}
							<option {% ifequal week2 aPlace.placeID%} selected="selected" {%  endifequal %} value="{{aPlace.placeID}}">{{aPlace.name}} </option>
							{% endfor %}
						</select>
					</td></tr>
					<tr><td>In three Weeks:</td><td>
						<select name="week4">
							{% for aPlace in locations %}
							<option {% ifequal week3 aPlace.placeID%} selected="selected" {%  endifequal %} value="{{aPlace.placeID}}">{{aPlace.name}} </option>
							{% endfor %}
						</select>
					</td></tr>
					<tr><td><input type="submit" value = "SUBMIT"/></td></tr>
				</table>	
		</form>
		<div class = "byline">
			<a href = "http://quazie.net">Brandon 'Quazie' Kwaselow Made this!</a>
		</div>
	</div>
</body>

</html>
